package com.zone.component_home.di

import com.zone.component_home.HomeActivity
import com.zone.component_home.RTCActivity
import com.zone.component_home.fragment.AdventureFragment
import com.zone.component_home.fragment.ChatFragment
import com.zone.component_home.fragment.MineFragment
import com.zone.component_home.fragment.SquareFragment
import com.zone.core.id.ViewModelFactoryModule
import dagger.Component
import javax.inject.Singleton

/**
 *Author: last
 *Time: 2020/5/2
 *Description: xxx
 */
@Singleton
@Component(modules = [HomeModule::class, VMModule::class, RepositoryModule::class, ViewModelFactoryModule::class,EXModules::class])
interface HomeComponent {
    fun inject(activity: RTCActivity)
    fun inject(activity: HomeActivity)
    fun inject(fragment: SquareFragment)
    fun inject(fragment: ChatFragment)
    fun inject(fragment: AdventureFragment)
    fun inject(fragment: MineFragment)
}